<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.text.xml.DocPrinter</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.text.xml.DocPrinter";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.text.xml.DocPrinter.html" class="symbol">tango.text.xml.DocPrinter</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Initial release: March 2008
<p class="sec_header">Authors:</p>Kris
<dl>
<dt class="decl">class <a class="symbol _class" name="DocPrinter" href="./htmlsrc/tango.text.xml.DocPrinter.html#L24" kind="class" beg="24" end="142">DocPrinter</a><span class="tparams">(T)</span> : IXmlPrinter!(T); <a title="Permalink to this symbol" href="#DocPrinter" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocPrinter.html#L24">#</a></dt>
<dd class="ddef">
<div class="summary">Simple Document printer, with support for serialization caching 
        where the latter avoids having to generate unchanged sub-trees</div>
<dl>
<dt class="decl">T[] <a class="symbol _function" name="DocPrinter.print" href="./htmlsrc/tango.text.xml.DocPrinter.html#L32" kind="function" beg="32" end="38">print</a><span class="params">(Doc <em>doc</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#DocPrinter.print" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocPrinter.html#L32">#</a></dt>
<dd class="ddef">
<div class="summary">Generate a text representation of the document tree</div></dd>
<dt class="decl">void <a class="symbol _function" name="DocPrinter.print:2" href="./htmlsrc/tango.text.xml.DocPrinter.html#L46" kind="function" beg="46" end="141">print</a><span class="params">(Node <em>root</em>, void delegate(T[][]...) <em>emit</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#DocPrinter.print:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.text.xml.DocPrinter.html#L46">#</a></dt>
<dd class="ddef">
<div class="summary">Generate a representation of the given node-subtree</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (C) 2008 Kris Bell.  All rights reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:42 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>